package com.hamilton.erik.pt.mobile.android.net.ssl;

import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSession;

import com.hamilton.erik.pt.mobile.util.ServerUtil;

public class PtHostnameVerifier implements HostnameVerifier{
	
	@Override
	public boolean verify(String hostname, SSLSession session) {
		if(hostname.equals(ServerUtil.ENDPOINT_URL)) {
			return true;
		}
		
		return false;
	}
}
